
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Medicine;
import cn.edu.scau.cmi.hombio.domain.MedicinePrice;
import cn.edu.scau.cmi.hombio.domain.MedicineSupplier;
import cn.edu.scau.cmi.hombio.domain.Supplier;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for MedicineSupplier entities
 * 
 */
public interface MedicineSupplierService {

	/**
	* Save an existing MedicineSupplier entity
	* 
	 */
	public void saveMedicineSupplier(MedicineSupplier medicinesupplier);

	/**
	* Return all MedicineSupplier entity
	* 
	 */
	public List<MedicineSupplier> findAllMedicineSuppliers(Integer startResult, Integer maxRows);

	/**
	* Delete an existing Medicine entity
	* 
	 */
	public MedicineSupplier deleteMedicineSupplierMedicine(Integer medicinesupplier_id, Integer related_medicine_id);

	/**
	* Delete an existing Supplier entity
	* 
	 */
	public MedicineSupplier deleteMedicineSupplierSupplier(Integer medicinesupplier_id_1, Integer related_supplier_id);

	/**
	* Delete an existing MedicinePrice entity
	* 
	 */
	public MedicineSupplier deleteMedicineSupplierMedicinePrices(Integer medicinesupplier_id_2, Integer related_medicineprices_id);

	/**
	 */
	public MedicineSupplier findMedicineSupplierByPrimaryKey(Integer id);

	/**
	* Save an existing MedicinePrice entity
	* 
	 */
	public MedicineSupplier saveMedicineSupplierMedicinePrices(Integer id_1, MedicinePrice related_medicineprices);

	/**
	* Save an existing Medicine entity
	* 
	 */
	public MedicineSupplier saveMedicineSupplierMedicine(Integer id_2, Medicine related_medicine);

	/**
	* Return a count of all MedicineSupplier entity
	* 
	 */
	public Integer countMedicineSuppliers();

	/**
	* Delete an existing MedicineSupplier entity
	* 
	 */
	public void deleteMedicineSupplier(MedicineSupplier medicinesupplier_1);

	/**
	* Load an existing MedicineSupplier entity
	* 
	 */
	public Set<MedicineSupplier> loadMedicineSuppliers();

	/**
	* Save an existing Supplier entity
	* 
	 */
	public MedicineSupplier saveMedicineSupplierSupplier(Integer id_3, Supplier related_supplier);
}